package com.yj.dao;

import com.yj.entity.Houses;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yj
 * @since 2020-08-24
 */
public interface HousesMapper extends BaseMapper<Houses> {

	//查询房子大小集合
	public List<Double> AllHouseSize();
	
	//查询房子价格集合
	public List<Integer> AllHousePrice();
	
	//热门房子的id
	public List<Integer> likehouseid();
	
	//房源信息图片上传
	public int UpdateImgByHid(@Param("hid") int  hid, @Param("himg")String himg);
	
}
